module.exports = {
  // 主要是上涨途中的小回调，然后去再次做多他
  buyIfPositivePreUpTrendDown () {
  },
  buyIfPositivePreTrend () {
    if (
      this.analysisInfo15m.netChangeRatio < -12 &&
      this.analysisInfo15m.lowOpenRate < -20 &&
      this.analysisInfo15m.ema5A10A20Days >= 1 &&
      this.analysisInfo15m.kdjDiff < 0 &&
      this.analysisInfo15m.isMacdDecline
    ) {
      // 就是之前的sellIfReverseTrend-9和sellIfOnlyPingByReason-0011
      // 做空很不行，改成买入了
      this.setBuyByPrePositive('buyIfPrePositiveTrend-0001', {
        level: 100,
        rate: 1,
        minPositionConfig: 0.5
      })
    }
    this.buyIfPositivePreUpTrendDown()
  }
}
